package com.ilearn.spring.future.core;


import com.ilearn.spring.future.dto.AsyncHttpEvent;
import com.ilearn.spring.future.dto.IEvent;

/**
 * @Project: edb-core
 * @Description:
 * @Version 1.0
 * @Throws SystemException:
 * @Author: <li>2018/8/10 lyndon Create 1.0
 * @Copyright (c)2018-2018 中央结算公司，版权所有
 * @Modified By:
 */
public class ThreadLocalContext {
    public static final ThreadLocal<AsyncHttpEvent> threadlocalResponse = new ThreadLocal<AsyncHttpEvent>() {
        @Override
        protected AsyncHttpEvent initialValue() {
            return null;
        }
    };

    public static final ThreadLocal<IEvent> threadLocalIEvent = new ThreadLocal<IEvent>() {
        @Override
        protected IEvent initialValue() {
            return null;
        }
    };

}
